package com.aerilys.taskboard.client;

import java.util.List;

import com.aerilys.taskboard.shared.Note;
import com.google.gwt.user.client.rpc.AsyncCallback;

/**
 * The async counterpart of <code>NoteService</code>.
 */
public interface NoteServiceAsync
{
  void greetServer(Note note, AsyncCallback<String> callback) throws IllegalArgumentException;
  void getNotes(AsyncCallback<List<Note>> callback);
}
